<div class="img_update_widget">
	<div>
		<!--<div class="img_update_pagination">第{{widgetData.name+1}}页</div>-->
		<div class="img_update_delete" ng-click="imgDelete($event)" ng-if="!isAllowDelete"></div>
		<img ng-src="{{widget.compressed.dataURL}}" class="img_selector thumbnail mar_b5p img_update_img" width="100px" height="100px" ng-click="imgShow($event)" />
	</div>

	<div style="display: flex; flex-direction: column;">
		<!--<input ng-if="widgetData.desc.required" type="text" placeholder="{{widgetData.desc.placeholder}}" ng-model="widgetData.descript" style="width:100px;height: 20px;font-size: 10px; margin:0 0 5px 0;border-radius:2px;padding-left: 17px;padding-right: 17px;background-color: #FDFDFD;">-->
		<!--<input style="width:100px;height: 30px;font-size: 12px;background-color: #ddd;border-radius: 3px;" material-id="cof.index"
			   up-date="imgUpdate()" girder-image-compress type="button" value="拍照" ng-click="openPage()"
			   id="{{widget.name}}" accept="image/*" image="widget" resize-max-height="800"
			   resize-max-width="800" resize-quality="0.9" resize-type="image/jpg"/>-->
		<!--<input style="width:100px;height: 20px;font-size: 10px; margin-top:0;" material-id="cof.index" up-date="imgUpdate()" girder-image-compress type="file" accept="image/*" image="widget" resize-max-height="800" resize-max-width="800" resize-quality="0.9" />-->
		<span style="background-color: #449d44;color: #fff;margin-top: 35%;border-radius: 3px;">
			<label for="fileInput{{widgetData.desc.id}}" style="width:80px;height: 30px;font-size: 14px;line-height: 30px; text-align: center;" >拍照</label>
			<input id="fileInput{{widgetData.desc.id}}" type="button" capture="camera" style="display: none;" material-id="cof.index" ng-click="imgUpdateNew()" up-date="imgUpdate()" girder-image-compress accept="image/*" image="widget" resize-max-height="800" resize-max-width="800" resize-quality="0.9">
		</span>
	</div>
</div>
